<?php
namespace app\index\controller;
use think\Controller;
class Index extends Controller {
     public function test(){
        return json(['code'=>1,'data'=>1]);
    }
}
